{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset134 \'cb\'ce\'cc\'e5;}}
{\colortbl ;\red255\green0\blue0;\red0\green0\blue255;\red255\green0\blue255;\red128\green0\blue128;\red0\green0\blue128;}
{\*\generator Msftedit 5.41.15.1515;}\viewkind4\uc1\pard\nowidctlpar\cf1\lang2052\f0\fs24\'d3\'f4\'bd\'f0\'cf\'e3\'ec\'e1\'bc\'bc\'ca\'f5 \ul\'b1\'e0\'b3\'ccVIP\'bd\'cc\'b3\'cc\par
www.yjxsoft.com\par
\'d7\'a8\'d2\'b5\'b5\'c4\'b1\'e0\'b3\'cc\'bc\'bc\'ca\'f5\'c5\'e0\'d1\'b5\'bb\'f9\'b5\'d8 \par
\'ce\'d2\'c3\'c7\'b5\'c4\'bf\'da\'ba\'c5\'a3\'ba\'be\'f8\'b6\'d4\'b2\'bb\'d2\'bb\'d1\'f9\'b5\'c4\'bd\'cc\'b3\'cc\'a3\'a1\'be\'f8\'b6\'d4\'b2\'bb\'d2\'bb\'d1\'f9\'b5\'c4\'ca\'b5\'d5\'bd\'cc\'e5\'d1\'e9\'a3\'a1\'c7\'e5\'ce\'fa\'b5\'c4\'cb\'bc\'c2\'b7!\'cf\'b8\'d6\'c2\'c8\'ab\'c3\'e6\'b5\'c4\'bd\'b2\'bd\'e2\'a3\'a1\'c8\'c3\'c4\'e3\'b8\'d0\'b5\'bd\'d1\'a7\'cf\'b0\'d4\'ad\'c0\'b4\'bf\'c9\'d2\'d4\'d5\'e2\'c3\'b4\'bc\'f2\'b5\'a5\'a3\'a1\par
\'b6\'af\'bb\'ad\'bd\'cc\'b3\'cc\'d6\'bb\'ca\'c7\'c6\'f0\'b5\'bd\'bc\'bc\'ca\'f5\'bd\'bb\'c1\'f7\'d7\'f7\'d3\'c3.\'c7\'eb\'b4\'f3\'bc\'d2\'b2\'bb\'d3\'c3\'c0\'fb\'d3\'c3\'b4\'cb\'b7\'bd\'b7\'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'bb\'b0\'bf\'f2\par
         \cf3  1\'a1\'a2\'b4\'f2\'bf\'aaNPC\'b6\'d4\'bb\'b0\par
          2\'a1\'a2\'b4\'f2\'bf\'aaNPC(\'c2\'f2\'bd\'f8/\'c2\'f4\'b3\'f6)\'b4\'b0\'bf\'da \par
          3\'a1\'a2\'b7\'e2\'d7\'b0\'b5\'bd\cf2 int OpenNpc_buysell();\cf3\'b2\'e2\'ca\'d4   \cf2\par
\pard\b0\fs24\par
\par
1\'a1\'a2\'c6\'d5\'b9\'a5\par
2\'a1\'a2\'c2\'f2\'bd\'f8/\'c2\'f4\'b3\'f6 \'b7\'e2\'b0\'fcCALL\par
\par
\par
0053EA2E  |.  B9 000A0000   MOV ECX,0A00\par
0053EA33  |.  33C0          XOR EAX,EAX                              ;  0\par
0053EA35  |.  8DBD FED7FFFF LEA EDI,DWORD PTR SS:[EBP-2802]\par
0053EA3B  |.  66:C785 F8D7F>MOV WORD PTR SS:[EBP-2808],0\par
0053EA44  |.  F3:AB         REP STOS DWORD PTR ES:[EDI]              ;  [edi]-[edi+0A00*4] =0\par
0053EA46  |.  8B0D 503C5D01 MOV ECX,DWORD PTR DS:[\cf1 15D3C50\cf2 ]\par
0053EA4C  |.  8D95 F8D7FFFF LEA EDX,DWORD PTR SS:[EBP-2808]\par
0053EA52  |.  83C6 02       ADD ESI,2\par
0053EA55  |.  898D 06D8FFFF MOV DWORD PTR SS:[EBP-27FA],ECX          ;  [15D3C50]\par
0053EA5B  |.  8B0D F8D75801 MOV ECX,DWORD PTR DS:[\cf1 158D7F8\cf2 ]           ;  ECX\par
0053EA61  |.  6A 16         PUSH 16\par
0053EA63  |.  52            PUSH EDX                                 ;  \'b7\'e2\'b0\'fc\'c4\'da\'c8\'dd\par
0053EA64  |.  66:C785 FAD7F>MOV WORD PTR SS:[EBP-2806],90\par
0053EA6D  |.  66:C785 FCD7F>MOV WORD PTR SS:[EBP-2804],10\par
0053EA76  |.  89B5 FED7FFFF MOV DWORD PTR SS:[EBP-2802],ESI          ;  ESI\'c0\'b4\'d4\'b4=3\'c2\'f2\'bd\'f8/\'c2\'f4\'b3\'f6\'a3\'ac4\'c8\'ce\'ce\'f1\par
0053EA7C  |.  E8 1FE8EFFF   CALL Client.\cf1 0043D2A0                     \cf2 ;  \'b4\'f2NPC \'b9\'ba\'ce\'ef/\'ca\'db\'ce\'efCALL\par
0053EA81  |.  C605 C8315D01>MOV BYTE PTR DS:[15D31C8],1\par
0053EA88  |.  5F            POP EDI\par
0053EA89  |>  5E            POP ESI\par
0053EA8A  |.  8BE5          MOV ESP,EBP\par
0053EA8C  |.  5D            POP EBP\par
0053EA8D  \\.  C2 0400       RETN 4\par
\par
\par
\'b7\'e2\'b0\'fc\'ca\'fd\'be\'dd\'b7\'d6\'ce\'f6\par
                         \cf4  data+0x6= ESI\par
\cf2 0012A4E0  00 00 \cf3 90\cf2  00 \cf3 10\cf2  00 \cf4 03\cf2  00 00 00 00 00 00 00 \cf1 03\cf2  00  \cf1 //[15D3C50]=03\par
\cf2 0012A4F0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\par
0012A500  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\par
0012A510  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\par
0012A520  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\par
0012A530  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\par
0012A540  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\par
0012A550  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\par
0012A560  00 00                                            ..\par
\par
+2=0x90\par
+5=0x10\par
+7=ESI\par
+0x0E=\cf1 [0x15D3C50]\cf2\par
\cf5\par
\tab MOV ECX,0x5C5AC28\par
\tab\tab mov ecx,[ecx]\par
        mov eax,0x00460480\par
\tab     call eax //\'b4\'f2\'bf\'aa\'d1\'a1\'d6\'d0NPC \'a3\'ac\'b9\'a5\'bb\'f7\'b9\'d6\'ce\'ef\'a3\'a8\'c6\'d5\'cd\'a8\'b9\'a5\'bb\'f7\'a3\'a9\par
\par
\par
byte OpenNpcData[0x0A00*4]=\{0,0,0x90,0,0x10,0,0x3,0,0,0,0,0,0,0,0x3,0\};\par
//+2=0x90\par
//+5=0x10\par
//+7=ESI\'c0\'b4\'d4\'b4=3\'c2\'f2\'bd\'f8/\'c2\'f4\'b3\'f6\'a3\'ac4\'c8\'ce\'ce\'f1\par
//+0x0E=[0x15D3C50]\par
int OpenNpcFlag=1;\par
HWND mainHwnd;\par
VOID CALLBACK  OpenNpc_buysell_timproc(\par
  HWND hwnd,     // handle of window for timer messages\par
  UINT uMsg,     // WM_TIMER message\par
  UINT idEvent,  // timer identifier\par
  DWORD dwTime   // current system time\par
) \par
\{  //\'c6\'d5\'b9\'a5\par
\tab if (OpenNpcFlag==1)\par
\tab\{\par
\tab\tab OpenNpcFlag++;\par
      BeatMon(); //sleep\par
\tab   return;\par
\tab\}\par
\tab if (OpenNpcFlag==2)\par
\tab\{ \tab OpenNpcFlag++;\par
\tab   \par
\tab  //sleep\par
\tab _asm\par
\tab\tab\{\par
\tab\par
\tab     mOV ECX,0x158D7F8  \par
\tab    \tab mov ecx,[ecx]\par
         PUSH 0x16\par
\tab\tab  lea edx,OpenNpcData\par
\tab\tab  mov eax,0x15D3C50\par
\tab\tab  mov eax,[eax]\par
\tab\tab  mov [edx+0x0e],eax\par
         PUSH EDX  \par
\tab\tab  mov eax,SendDataCall;//#define SendDataCall 0x0043D2A0\par
\tab\tab  CALL eax\par
\tab\}\par
\tab return;\par
\tab\}\par
\tab if (OpenNpcFlag>=3)\par
\tab\{ \par
\tab\tab KillTimer(mainHwnd,1008);\par
\tab\tab OpenNpcFlag=1;\par
\tab\tab  return;\par
\tab\}\par
                          \par
\par
\tab\par
\}\par
\tab int OpenNpc_buysell()\par
\tab\{\par
\tab\tab ::SetTimer(mainHwnd,1008,1000,OpenNpc_buysell_timproc);\par
\tab\tab return 1;\par
\tab\}\par
\tab\par
\par
void CPAGE1::OnBUTTONOpenNpcsellbuy() \par
\{\par
\tab // TODO: Add your control notification handler code here\par
 //OpenNpc_buysell();\par
\tab mainHwnd=this->m_hWnd;\par
OpenNpc_buysell();\par
\}\par
}
 